package com.example.demo2;

import com.example.entity.UserInfo;

public class MQEventListener implements EventListener {
    @Override
    public void listener(UserInfo userInfo) {
        System.out.println("模拟mq发送消息,其中消息的内容是 " + userInfo.toString());
    }
}
